// 路由中间件
export default function ({route, params, query, store, redirect}) {
  // console.log(route, params, query, store, redirect)
  // context.userAgent = process.server ? context.req.headers['user-agent'] : navigator.userAgent
}